import request from '../utils/request'

export const add = (num) => {
    return request.get(`/group/add/${num}`)
}

export const reduce = (num) => {
    return request.get(`/group/del/${num}`)
}

export const modify = (file) => {
    console.log(file)
        // const a = JSON.stringify(file)
    return request.post('/group/modify', {
        // a
        file
    })
}